package com.tjbank.cssys.web.service.impl;

import com.tjbank.cssys.domain.IamGroup;
import com.tjbank.cssys.repository.IamGroupMapper;
import com.tjbank.cssys.web.service.IamGroupService;
import com.tjbank.cssys.web.util.GetUserCodeFromToken;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

@Service
public class IamGroupServiceImpl implements IamGroupService {
    @Autowired
    private IamGroupMapper iamGroupMapper;


    /*根据所有分行 ---查询 支行*/
    @Override
    public List<IamGroup> selectZhiFromFen(String id) {
        return iamGroupMapper.selectZhiFromFen(id);
    }

    /* 查询 分行*/
    @Override
    public List<IamGroup> selectFenList() {
        return iamGroupMapper.selectFenList();
    }
}
